package com.zyp.builder;

public class FemaleBuilder implements PersonBuilder{

	Person person;
	
	public FemaleBuilder(){
		person=new Person();
	}
	
	@Override
	public void buildHead() {
		System.out.println("FemaleBuilder buildHead()");
		person.setHead("Female Head");
	}

	@Override
	public void buildBody() {
		System.out.println("FemaleBuilder buildBody()");
		person.setBody("Female body");
	}

	@Override
	public void buildHands() {
		System.out.println("FemaleBuilder buildHands()");
		person.setHands("Female Hands");
	}

	@Override
	public void buildFoots() {
		System.out.println("FemaleBuilder buildFoots()");
		person.setFoots("Female foots");
	}

	@Override
	public Person buildPerson() {
		return person;
	}

}
